/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.govProcure.db.dao;

import com.yunhoo.govProcure.model.CateDataModel;
import com.yunhoo.govProcure.model.CateEditBase;
import com.yunhoo.govProcure.model.CateEditDetail;
import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author Administrator
 */
public interface ProcureBudgetEditDao {

    public Integer queryMaxNumberFromBase();

    public Integer queryMaxNumberFromDetail();

    public List<String> queryAllCategroyStandardCode();

    public List<CateDataModel> queryCategroyStandardByCategoryCode(String categoryCode);

    public CateEditBase queryCateEditBaseByDeptAndPerson(CateEditBase param);

    public List<CateEditDetail> queryListCateEditDetailByNumber(CateEditDetail param);

    public List<CateEditDetail> queryListCateEditDetailForCheck(CateEditDetail param);

    public void insertCateEditBase(CateEditBase param) throws SQLException;

    public void insertCateEditDetail(CateEditDetail param) throws SQLException;

    public void updateCateEditDetailById(CateEditDetail param) throws SQLException;

    public void deleteCateEditDetailById(CateEditDetail param) throws SQLException;
}
